﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.Prefab
{
	// Token: 0x020001CC RID: 460
	[PrefabRuleAttr]
	internal class PS_MaxParticle : RecordRuleImp<ParticleSystemAssetData, ParticleSystemRecordManager>
	{
		// Token: 0x06000EA4 RID: 3748 RVA: 0x0004251C File Offset: 0x0004071C
		protected override bool IsOK(ParticleSystemAssetData assetData)
		{
			return (float)assetData.maxParticles <= this.GetThresholds(30f);
		}
	}
}
